package com.woniu.service;

import com.woniu.vo.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("product-service")
public interface IProductService {
    @GetMapping("/products/{pid}")
    ResultVO findByPid(@PathVariable("pid") Integer pid);

    @GetMapping("/products/testloadbalance")
    public ResultVO testLoadBalance();
}
